def demo(num, num_list):
    print("函数内部代码")

    num = 100
    num_list = [1, 2, 3]
    print(num)
    print(num_list)


# 定义成员变量
gl_num = 200

# 200 值传递
print(gl_num)

# 引用后也不会不修改
gl_list = [4, 5, 6]
demo(gl_num, gl_list)
print(gl_list)
